package extend;

/**
 * @program: baseModule
 * @description:
 * @author: zhanghz001
 * @create: 2020-10-22 14:38
 **/
public abstract class CompositionTemplate {
    public final void write() {
        System.out.println("这个就是我爸爸");
        body();
        System.out.println("好了,结束了");
    }

    protected abstract void body();
}
